﻿using System;
using System.Text;

namespace MyVBAScript.Global
{
    /// <summary>
    /// 定义VB.NET脚本使用的全局对象容器类型
    /// </summary>
    [Microsoft.VisualBasic.CompilerServices.StandardModuleAttribute()]
    public class GlobalObject
    {
        internal static XVBAWindowObject myWindow = null;
        /// <summary>
        /// 全局的 window 对象
        /// </summary>
        public static XVBAWindowObject Window
        {
            get { return myWindow; }
        }

        internal static frmMain.DocumentClass myDocument = null;
        /// <summary>
        /// 全局 document 对象
        /// </summary>
        public static frmMain.DocumentClass Document
        {
            get { return myDocument; }
        }
    }
}
